package org.example.myl.service.impl;

import org.example.myl.entity.vo.VoCourse;
import org.example.myl.mapper.CourseMapper;
import org.example.myl.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private CourseMapper courseMapper;
    @Override
    public List<VoCourse> getCourseAvgScore() {
        return  courseMapper.getCourseAvgScore();
    }
}
